package com.krtech.wecard.module.mayi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 蚂蚁阅读量cdk管理
 */
@ApiModel(value = "com-krtech-wecard-module-mayi-entity-MayiCdkManage")
@Data
@TableName(value = "mayi_cdk_manage")
public class MayiCdkManage implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 模版名
     */
    @TableField(value = "fk_mode_name")
    @ApiModelProperty(value = "模版名")
    private String fkModeName;

    /**
     * 模版外键
     */
    @TableField(value = "fk_mode_id")
    @ApiModelProperty(value = "模版外键")
    private Long fkModeId;

    /**
     * cdk编号
     */
    @TableField(value = "cdk_code")
    @ApiModelProperty(value = "cdk编号")
    private String cdkCode;

    /**
     * cdk到期时间
     */
    @TableField(value = "cdk_end_time")
    @ApiModelProperty(value = "cdk到期时间")
    private Date cdkEndTime;

    /**
     * cdk可使用总量
     */
    @TableField(value = "total_use")
    @ApiModelProperty(value = "cdk可使用总量")
    private Long totalUse;

    /**
     * cdk当前使用量
     */
    @TableField(value = "current_use")
    @ApiModelProperty(value = "cdk当前使用量")
    private Long currentUse;

    /**
     * cdk拥有者
     */
    @TableField(value = "possess_user_code")
    @ApiModelProperty(value = "cdk拥有者")
    private String possessUserCode;

    /**
     * 类型，1:刷量。2.刷点赞
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "类型，1:刷量。2.刷点赞")
    private Integer type;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_FK_MODE_NAME = "fk_mode_name";

    public static final String COL_FK_MODE_ID = "fk_mode_id";

    public static final String COL_CDK_CODE = "cdk_code";

    public static final String COL_CDK_END_TIME = "cdk_end_time";

    public static final String COL_TOTAL_USE = "total_use";

    public static final String COL_CURRENT_USE = "current_use";

    public static final String COL_POSSESS_USER_CODE = "possess_user_code";

    public static final String COL_TYPE = "type";
}